package com.atjinggu.jinggumail.product.service;

import com.atjinggu.jinggumail.product.entity.BrandEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atjinggu.jinggumail.common.utils.PageUtils;
import com.atjinggu.jinggumail.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author jingming
 * @email jingming@gmail.com
 * @date 2020-12-12 23:08:28
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params,String brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    List<BrandEntity> queryBrandsListByCatId(Map<String, Object> params, String catId);

}

